package io.github.eric.urpc.core.rpc;

import java.lang.reflect.Method;

public class MessageInfo {
	private Class<?> classType;
	private Object service;
	private Method method;
	private int rpcContextIndex = -1;

	public Class<?> getClassType() {
		return classType;
	}

	public void setClassType(Class<?> classType) {
		this.classType = classType;
	}

	public Object getService() {
		return service;
	}

	public void setService(Object service) {
		this.service = service;
	}

	public Method getMethod() {
		return method;
	}

	public void setMethod(Method method) {
		this.method = method;
	}

	public int getRpcContextIndex() {
		return rpcContextIndex;
	}

	public void setRpcContextIndex(int rpcContextIndex) {
		this.rpcContextIndex = rpcContextIndex;
	}
}